﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RaisingStudio.Data.Entities
{
    /// <summary>
    /// Issue.
    /// </summary>
    [Serializable]
    [RaisingStudio.Data.DataTable("DAC_ISSUE")]
    partial class Issue
    {
        #region Members
		
		private int _IssueID;
		/// <summary>
		/// IssueID.
		/// </summary>
		[System.ComponentModel.Description("IssueID")]
        [RaisingStudio.Data.DataColumn("ISSUE_ID", AllowDBNull = false, IsPrimaryKey = true, AutoIncrement = false)]
		public int IssueID
		{
			get 
			{
				return this._IssueID;
			}
			set 
			{
				this._IssueID = value;
			}
		}

		private string _Title;
		/// <summary>
		/// Title.
		/// </summary>
		[System.ComponentModel.Description("Title")]
        [RaisingStudio.Data.DataColumn("ISSUE_TITLE", AllowDBNull = false)]
		public string Title
		{
			get 
			{
				return this._Title;
			}
			set 
			{
				this._Title = value;
			}
		}

		private string _Description;
		/// <summary>
		/// Description.
		/// </summary>
		[System.ComponentModel.Description("Description")]
        [RaisingStudio.Data.DataColumn("ISSUE_DESC")]
		public string Description
		{
			get 
			{
				return this._Description;
			}
			set 
			{
				this._Description = value;
			}
		}

		private IssueStatus _Status;
		/// <summary>
		/// Status.
		/// </summary>
		[System.ComponentModel.Description("Status")]
        [RaisingStudio.Data.DataColumn("ISSUE_STS", DbType = System.Data.DbType.Int32, AllowDBNull = false)]
		public IssueStatus Status
		{
			get 
			{
				return this._Status;
			}
			set 
			{
				this._Status = value;
			}
		}

		private IssueType? _IssueType;
		/// <summary>
		/// IssueType.
		/// </summary>
		[System.ComponentModel.Description("IssueType")]
        [RaisingStudio.Data.DataColumn("ISSUE_TYP")]
		public IssueType? IssueType
		{
			get 
			{
				return this._IssueType;
			}
			set 
			{
				this._IssueType = value;
			}
		}

		private string _Owner;
		/// <summary>
		/// Owner.
		/// </summary>
		[System.ComponentModel.Description("Owner")]
        [RaisingStudio.Data.DataColumn("ISSUE_OWNR")]
		public string Owner
		{
			get 
			{
				return this._Owner;
			}
			set 
			{
				this._Owner = value;
			}
		}

		private decimal? _Progress;
		/// <summary>
		/// Progress.
		/// </summary>
		[System.ComponentModel.Description("Progress")]
        [RaisingStudio.Data.DataColumn("ISSUE_PRGS")]
		public decimal? Progress
		{
			get 
			{
				return this._Progress;
			}
			set 
			{
				this._Progress = value;
			}
		}

		private DateTime _CreateTime;
		/// <summary>
		/// CreateTime.
		/// </summary>
		[System.ComponentModel.Description("CreateTime")]
        [RaisingStudio.Data.DataColumn("CREATE_TM", AllowDBNull = false)]
		public DateTime CreateTime
		{
			get 
			{
				return this._CreateTime;
			}
			set 
			{
				this._CreateTime = value;
			}
		}

		private bool? _Locked;
		/// <summary>
		/// Locked.
		/// </summary>
		[System.ComponentModel.Description("Locked")]
        [RaisingStudio.Data.DataColumn("ISSUE_LOCKED", DbType = System.Data.DbType.Int32)]
		public bool? Locked
		{
			get 
			{
				return this._Locked;
			}
			set 
			{
				this._Locked = value;
			}
		}

		#endregion
    }
}
